package com.slz3.business.module.wmsManagement.wmsStockDetail.service;

import com.slz3.business.module.wmsManagement.wmsStockDetail.domain.WmsStockDetail;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;

/**
 * 非事务型 service
 */
public interface WmsStockDetailService {

    WmsStockDetail save(WmsStockDetail wmsStockDetail);

    Page<WmsStockDetail> page(MultiValueMap<String, String> queryParams);

    WmsStockDetail modify(WmsStockDetail wmsStockDetail);

    Optional<WmsStockDetail> single(UUID uuid);

    List<WmsStockDetail> findAllByUuids(Iterable<UUID> uuids);

    List<WmsStockDetail> delete(List<WmsStockDetail> wmsStockDetailList);

}
